<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
</html>

<script>
  function odd(a, b) {
    var number = 0;
    for (i = a; i <= b; i++) {
      for (j = a; j <= b; j++) {
        var total = i * 10 + j;
        if (total % 2 == 1) {
          number++;
        }
      }
    }
    console.log(number);
  }

  odd(0, 3);
</script>
